package com.example.demo.dao;

import java.util.List;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import com.example.demo.model.News;




@Repository
public interface NewsRepository extends ElasticsearchRepository<News, String> {
    public List<News> findByTitle(String title);    
}